package com.niit.galuser.service;

import com.niit.entity.User;

import javax.mail.MessagingException;
import javax.servlet.http.HttpSession;


public interface UserService {

    String sendMsg(HttpSession session, String addr) throws MessagingException;

    User findUserByMail(String mail);

    int insertUser(User user);

    User findUserById(int id);

    int setInfo(User user);

}
